home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Aventura
/
FireMan.swf
/
scripts
/
frame_1056
/
PlaceObject2_276_1146
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2008-09-12
|
1KB
|
52 lines
onClipEvent(enterFrame){
function drawframe2()
{
if(_root.estado == 6)
{
this.gotoAndStop("slide");
return undefined;
}
if(_root.estado == 3)
{
this.gotoAndStop("jump");
return undefined;
}
if(_root.estado == 4)
{
this.gotoAndStop("attackJ");
return undefined;
}
if(_root.estado == 5)
{
this.gotoAndStop("fall");
return undefined;
}
if(_root.estado == 2)
{
this.gotoAndStop("attackRU");
sprite.gotoAndPlay(frame);
return undefined;
}
if(_root.estado == 0)
{
this.gotoAndStop("standing");
return undefined;
}
if(_root.estado == 1)
{
this.gotoAndStop("run");
return undefined;
}
}
death = false;
if(_X > 32)
{
_X = _X - dx;
}
if(_root.trans.u)
{
_Y = _Y + 1;
}
drawframe2();
}